package cn.bs.busuo.mall.service;

import cn.bs.busuo.common.pojo.authentication.CurrentPrincipal;
import cn.bs.busuo.common.pojo.vo.PageData;
import cn.bs.busuo.mall.pojo.vo.CommentAddNewParam;
import cn.bs.busuo.mall.pojo.vo.CommentListItemVO;

public interface ICommentService {
    void addNew(CurrentPrincipal currentPrincipal, CommentAddNewParam commentAddNewParam);

    PageData<CommentListItemVO> list(Long goodsId, Integer pageNum);
}
